#include <list>
#include <deque>
#include <math.h>
#include <algorithm>
#include <time.h>
#ifndef BUDDY_H
	#define BUDDY_H
	#include "buddy.h"
#endif

using namespace std;

struct Request{
	int id;
	unsigned long size;
	int type; // 0 malloc, 1 free
	
	//Request(unsigned long s, int t): id(NULL), size(s), type(t) {};
	Request(int i, unsigned long s, int t): id(i), size(s), type(t) {};
	Request(const Request& r): id(r.id), size(r.size), type(r.type) {};
};

class Simulator{
public:
	list<Request> generateRequests(int, int);
private:
};
